-
Home
-
GF Stripe Extensions
-
2.2.5
-
Code
-
Classes
- CurlClient
Total Complexity |
63 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
432 |
Lines of code |
233 |
Logical lines of code |
139 |
Comment lines |
102 |
Methods |
24 |
Properties |
8 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
request() |
B |
37 |
18 |
67 |
handleCurlError() |
S |
50 |
7 |
28 |
executeRequestWithRetries() |
S |
50 |
6 |
30 |
shouldRetry() |
S |
60 |
5 |
15 |
hasHeader() |
S |
66 |
3 |
8 |
resetCurlHandle() |
S |
69 |
3 |
7 |
__construct() |
S |
68 |
2 |
7 |
closeCurlHandle() |
S |
71 |
2 |
6 |
instance() |
S |
71 |
2 |
6 |
setEnableHttp2() |
S |
81 |
1 |
3 |
setTimeout() |
S |
75 |
1 |
4 |
setConnectTimeout() |
S |
75 |
1 |
4 |
getEnableHttp2() |
S |
82 |
1 |
3 |
getConnectTimeout() |
S |
82 |
1 |
3 |
setEnablePersistentConnections() |
S |
81 |
1 |
3 |
getEnablePersistentConnections() |
S |
82 |
1 |
3 |
getUserAgentInfo() |
S |
82 |
1 |
3 |
getDefaultOptions() |
S |
82 |
1 |
3 |
sleepTime() |
S |
64 |
1 |
9 |
initCurlHandle() |
S |
77 |
1 |
4 |
initUserAgentInfo() |
S |
68 |
1 |
7 |
__destruct() |
S |
82 |
1 |
3 |
canSafelyUseHttp2() |
S |
74 |
1 |
4 |
getTimeout() |
S |
82 |
1 |
3 |